package cn.tedu.csmall.product.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Range;

@Data
@Accessors(chain = true)
public class AttributeTemplateUpdateInfoParam {

    @ApiModelProperty(value = "属性模板名称", required = true, example = "修改后的属性模板")
    private String name;

    @ApiModelProperty(value = "属性模板拼音", required = true, example = "xiugaihoudeshuxingmoban")
    private String pinyin;

    @ApiModelProperty(value = "属性模板关键词", required = true, example = "修改后的keyword")
    private String keywords;

    @Range(max = 99, message = "排序序号必须在0~99之间")
    @ApiModelProperty(value = "排序序号,必须在0~99之间", required = true, example = "1")
    private Integer sort;
}
